package com.bmob.lover.viewmodel.state

import com.theone.common.ext.formatString
import com.bmob.lover.data.constant.AnniversaryConstant
import com.theone.mvvm.base.viewmodel.BaseViewModel
import com.theone.common.callback.databind.IntObservableField
import com.theone.common.callback.databind.StringObservableField
import java.util.*

class AnniversaryAddViewModel:BaseViewModel() {

    val name:StringObservableField = StringObservableField()
    val date:StringObservableField = StringObservableField(Date().formatString())
    val type:IntObservableField = IntObservableField(AnniversaryConstant.TYPE_Anniversary)

}